export interface Address {
  id: number
  userId: number
  recipientName: string
  phone: string
  province: string
  city: string
  district: string
  detailedAddress: string
  postalCode: string // 可选字段，可能不存在
  isDefault: boolean
  createdTime: string
  updatedTime: string
}

export interface AddressCreateRequest {
  userId: number
  recipientName: string
  phone: string
  province: string
  city: string
  district: string
  detailedAddress: string
  isDefault?: boolean
}

export interface AddressUpdateRequest {
  id: number
  recipientName?: string
  phone?: string
  province?: string
  city?: string
  district?: string
  detailedAddress?: string
  isDefault?: boolean
}

export interface AddressSetDefaultRequest {
  id: number
  userId: number
}
